package com.ky.tms.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import lombok.Getter;

@Getter
public enum OrderEnum implements IEnum<String> {
    ENTRY("ENTRY", "生成"),
    SPLIT("SPLIT", "拆单"),
    SPLITED("SPLITED", "拆单完成"),
    DISPATCH("DISPATCH", "调度"),
    COST_CONFIRMATION("COST_CONFIRMATION", "成本确认"),
    COST_AUDIT("COST_AUDIT", "成本审核"),
    ORDER_AUDIT("ORDER_AUDIT", "订单审核"),
    LOAD_IN("LOAD_IN", "货物装车"),
    LOAD_OFF("LOAD_OFF", "货物送达"),
    RECEIPT("RECEIPT", "收到回单"),
    COMMON("COMMON", "承运"),
    DELIVERY("DELIVERY", "送达"),
    GATHERING_AUDIT("GATHERING_AUDIT", "收入审核"),
    GATHERING("GATHERING", "待收款"),
    INVOICE_HALF("INVOICE_HALF", "开票(非足额)"),
    INVOICE("INVOICE", "开票(足额)"),
    FINISH("FINISH", "完成");
    private final String value;
    private final String desc;
    OrderEnum(final String value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return value;
    }
}
